package com.example.coolshark.mapper;

import com.example.coolshark.pojo.entity.Category;

import java.util.List;

/**
 * @Name: CategoryMapper
 * @Author: 西风残叶
 * @Company: 朝兮网络工作室
 * @Data: 2023/11/21 18:57
 */
public interface CategoryMapper {
    List<Category> select();

    void deleteById(int id);

    void insert(String name);

    void update(Category category);
}
